home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1996 December
/
Software of the Month Club 1996 December.iso
/
pc
/
dos
/
dtp
/
autohtml
/
autohtml.doc
next >
Wrap
Text File
|
1996-10-10
|
8KB
|
213 lines
AUTOHTML
Version 5.2
Overview:
AUTOHTML creates a multi-page web site from text source files in the
current directory. The first page is always called TOC.HTML and is a
table of contents linking to the other pages.
A page is created for each source file. If the defaults are selected,
a separate table of contents file will be created for each page, with
the name tocxxxxx.htm where xxxxx is the last five characters of the
source file name.
The title for the first page is received from the command line as a
parameter supplied to AUTOHTML.EXE. Enclose this text within speech
marks, or only the first word will be picked up! Each entry in the
first page (TOC.HTML) is derived from a single text line in a file
with the same name as the source file, but with the extension .TIT
(short for title). If a TIT file can not be located in the current
directory, the source file name is used. This title is also used to
head the source web page and any table of contents page for that
source file.
Links are automaticaly created whenever a word refers to another item
heading in any of the source pages. Multiple links to the same topic
within a section can be supressed with the "duplicate links=no"
setting in autohtml.ini.
An alphabetical global index (gi.htm) is created providing links to
all topics in all files processed.
Source Files:
Source files follow the KNB format; Simply these are comprised of an
item heading line prefixed by an asterisk, thus:
*This is an item heading
followed by any number of lines of text which comprise that item's
data.
To force a link to a multiple word heading, replace spaces with under
bars (_) within the item data, for example:
This example will link with Greater_London.
A collection of KNB text files relating to mythology are supplied as
an example.
Command Line:
AUTOHTML "Title For First Page"
Automatic Links:
Automatic links will only ever be made to the current page or to the
first source file, in alphabetical order, containing a reference to
the item. You can force other files to be linked first by so naming
them as to be alphabetically earlier. Eg; a file 'AAA.TXT' will be
scanned before a file called 'BAA.TXT'. For example. If the title
PARIS occurs in the current page and in another page, a link will be
made to the current page reference for PARIS. If however, the title
PARIS occurs in three pages, but not in the current page, then a link
will be made to the reference PARIS in the page named first.
Table Of Contents:
The format of each table of contents is either a list, or a table.
Defined by toc table=yes or toc table=no in autohtml.ini. If a tabular
format table of contents is required, the number of columns, border
and cell spacing information is read from the autohtml.ini file.
Otherwise these parameters are ignored.
Limitations:
AUTOHTML will not create graphical systems. It is designed to carry
out the donkey work of linking multiple machine-readable text files
into a fully linked web site. If you want in-line graphics, forms,
links to other URLs and so on then you will have to add these your
self.
AUTOHTML.INI:
AUTOHTML acceses a configuration file (autohtml.ini) in the directory
where autohtml.exe resides. This configuration file may be amended to
change the format of the created web site.
NB:
Under Windows 95, autohtml may have trouble locating the required
autohtml.ini file unless it is present in the current directory.
[preferences]
case sensitive=no (Should links match on case)
separate table of contents=yes (Table of contents separate to main
data)
main title font=1 (Font 1-6 for main title)
sub title font=2 (Font 1-6 for subsequent title lines)
toc font=3 (Font to display table of contents
entries)
source=knb (Source file extension)
toc table=yes (Use table format for each table of
contents)
columns=3 (Number of table columns)
width=100 (Table width as a % of screen width)
cellspacing=2 (Table cell spacing)
border=10 (Table border)
align=left (Table cell alignment, left, center or
right)
[item]
title font=2 (Font 1-6 for item titles)
data font=4 (Font 1-6 to display item data)
title italic=yes (Item titles Italic yes or no)
title bold=yes (Item titles Bold yes or no)
duplicate links=no (Whether subsequent links to the same
topic should be made within a
paragraph)
no recurse=no (If no recurse=yes, links to items
which point straight back to the
calling item are supressed. This
slows processing down a lot, and
is not normally required)
advanced=yes (Use advanced options. These options
override the title font and data
font settings above if advanced=yes)
background="space.gif" (Backgound image)
bg colour="#000000" (Background colour)
text colour="#FFFFFF" (Text colour)
link colour="#FFFF00" (Link colour)
alink colour="#000000" (ALink colour)
vlink colour="#FFFF00" (Visited link colour)
title size=5 (Item title size)
title colour="FF0000" (Item title colour)
data size=3 (Item data size)
data colour="F0F0F0" (Item data colour)
[ignore]
; Any words in this section will not be linked
; This section may include a maximum of 500 words
A
IN
OF
THE
Compatability:
AUTOHTML has been tested with NCSA Mosaic, Microsoft Internet Explorer
and Netscape.
Frequently Asked Questions:
Q. I only have one source file, autohtml creates four HTML files. How do
I get around this?
A. Autohtml always creates a primary table of contents HTML file
called TOC.HTM and a global index file called GI.HTM. This provides
a link to all the source files. If you only have one source file,
then you can delete the TOC.HTM file. If you have separate table of
contents=yes set in the autohtml.ini configuration file, then two HTML
files will be created for each source file. The name of one file will
commence TOC and this is the table of contents for the other data file.
Rename this table of contents file to TOC.HTM and your web site is
done.
Q. Autohtml doesn't create any HTML files. What's wrong?
A. Autohtml searches the current directory for files with an extension
matching the source= setting in the configuration file
autohtml.ini. Probably you have an incorrect extension set in the
configuration file. Remember, the extension in the source= line
does not include a period, eg:
source=knb
Q. When I try to view the HTML files in Mosaic, Mosaic crashes. Help!
A. Mosaic is a rather fragile HTML viewer. Try splitting the source
files down into more smaller files.
Q. When I try to run autohtml under Windows, it crashes. What's wrong?
A. Windows (and especially Windows 95) has a very poor memory manager.
The shareware version of autohtml is best run in DOS mode. The
registered version will generally run under Windows with out any
problems.
(c)1996 Servile Software
Servile Software
5 Longcroft Close
Basingstoke
Hampshire
RG21 8XG
WWW http://www.pins.co.uk/upages/probertm
EMAIL probertm@pins.co.uk